package com.ruoyi.system.domain.customer;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 本地用户评论回复对象 local_reply
 * 
 * @author 张少丛
 * @date 2020-11-24
 */
public class LocalReply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 回复编号 */
    private Long localReplyId;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String localReplyText;

    /** 回复人 */
    @Excel(name = "回复人")
    private Long localReplyCustomer;

    /** 回复标题ID */
    @Excel(name = "回复标题ID")
    private Long localReviersId;

    /** 父ID */
    @Excel(name = "父ID")
    private Long localReplyParent;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Integer localReplyFabulous;

    /** 回复量 */
    @Excel(name = "回复量")
    private Integer localReplyNumber;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date localReplyTime;

    private CustomerInfo customerInfo;

    private LocalReviers localReviers;

    public void setLocalReplyId(Long localReplyId) 
    {
        this.localReplyId = localReplyId;
    }

    public Long getLocalReplyId() 
    {
        return localReplyId;
    }
    public void setLocalReplyText(String localReplyText) 
    {
        this.localReplyText = localReplyText;
    }

    public String getLocalReplyText() 
    {
        return localReplyText;
    }
    public void setLocalReplyCustomer(Long localReplyCustomer) 
    {
        this.localReplyCustomer = localReplyCustomer;
    }

    public Long getLocalReplyCustomer() 
    {
        return localReplyCustomer;
    }
    public void setLocalReviersId(Long localReviersId) 
    {
        this.localReviersId = localReviersId;
    }

    public Long getLocalReviersId()
    {
        return localReviersId;
    }
    public void setLocalReplyParent(Long localReplyParent)
    {
        this.localReplyParent = localReplyParent;
    }

    public Long getLocalReplyParent()
    {
        return localReplyParent;
    }
    public void setLocalReplyFabulous(Integer localReplyFabulous)
    {
        this.localReplyFabulous = localReplyFabulous;
    }

    public Integer getLocalReplyFabulous()
    {
        return localReplyFabulous;
    }
    public void setLocalReplyTime(Date localReplyTime) 
    {
        this.localReplyTime = localReplyTime;
    }

    public Integer getLocalReplyNumber() {
        return localReplyNumber;
    }

    public void setLocalReplyNumber(Integer localReplyNumber) {
        this.localReplyNumber = localReplyNumber;
    }

    public Date getLocalReplyTime()
    {
        return localReplyTime;
    }

    public CustomerInfo getCustomerInfo() {
        return customerInfo;
    }

    public void setCustomerInfo(CustomerInfo customerInfo) {
        this.customerInfo = customerInfo;
    }

    public LocalReviers getLocalReviers() {
        return localReviers;
    }

    public void setLocalReviers(LocalReviers localReviers) {
        this.localReviers = localReviers;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("localReplyId", getLocalReplyId())
            .append("localReplyText", getLocalReplyText())
            .append("localReplyCustomer", getLocalReplyCustomer())
            .append("localReviersId", getLocalReviersId())
            .append("localReplyParent", getLocalReplyParent())
            .append("localReplyFabulous", getLocalReplyFabulous())
                .append("localReplyNumber", getLocalReplyNumber())

            .append("localReplyTime", getLocalReplyTime())
                .append("customerInfo", getCustomerInfo())
                .append("localReviers", getLocalReviers())
            .toString();
    }
}
